package com.ssy.lingxi.system.dto.request;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
* 修改信用权重
* @author wrc
* @date 2020/6/5
*/
public class CreditIndexUpdateRequest {

    @NotNull(message = "ID不能为null")
    @ApiModelProperty("信用ID")
    private Long id;

    @NotNull(message = "信用权重不能为null")
    @ApiModelProperty("信用权重")
    private Integer weight;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}
